<?php
namespace api\user\validate;

use think\Validate;

class AddressValidate extends Validate
{
    protected $rule = [
		'type'           =>  'number|between:1,4',
		'wallet_address' =>  'require',
    ];
    protected $message = [
		'type.require'           => '钱包类型为数字',
		'wallet_address.require' => '钱包地址不能为空',
    ];

}